﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Design.Kernel.CAD;
using DesignKernel.CAD;

namespace Design.Kernel.IO
{
    /// <summary>
    /// Abstract class for common file loader
    /// </summary>
    public abstract class FileLoader
    {
        /// <summary>
        /// Loads the specified file from the given location and returns a Model
        /// </summary>
        /// <param name="fileName">Complete file path</param>
        /// <returns>Model constructed from the given file's data</returns>
        public abstract TModel LoadFile(string fileName);
    }
}
